package org.jeecg.modules.recruit.accounthistory.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 账户操作记录
 * @Author: jeecg-boot
 * @Date: 2020-08-21
 * @Version: V1.0
 */
@Data
@TableName("mm_app_account_history")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "mm_app_account_history对象", description = "账户操作记录")
public class MmAppAccountHistory implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private java.lang.String id;
    /**
     * 用户id
     */
    @Excel(name = "用户id", width = 15)
    @ApiModelProperty(value = "用户id")
    private java.lang.String userId;
    /**
     * 操作来源
     */
    @Excel(name = "操作来源", width = 15)
    @ApiModelProperty(value = "操作来源")
    private java.lang.Integer sourceType;
    /**
     * 存取类型，1存入，2提现
     */
    @Excel(name = "存取类型，1存入，2提现", width = 15)
    @ApiModelProperty(value = "存取类型，1存入，2提现")
    private java.lang.Integer accessType;
    /**
     * 金额（分）金额存储用number
     */
    @Excel(name = "金额（分）金额存储用number", width = 15)
    @ApiModelProperty(value = "金额（分）金额存储用number")
    private java.lang.Integer moneyAmount;
    /**
     * 操作时间
     */
    @Excel(name = "操作时间", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "操作时间")
    private java.util.Date opTime;
    /**
     * 业务id（关联业务主键-如红包,返佣）
     */
    @Excel(name = "业务id（关联业务主键-如红包,返佣）", width = 15)
    @ApiModelProperty(value = "业务id（关联业务主键-如红包,返佣）")
    private java.lang.String businessId;
}
